package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Permission;
import cn.wolfcode.rbac.query.QueryObject;
import cn.wolfcode.rbac.util.PageResult;

import java.util.List;

/**
 * Created by Administrator on 2020/6/10 0010.
 */
public interface IPermissionService {
    void delete(Long id);
    Permission get(Long id);
    List<Permission> listAll();
    void saveOrUpdate(Permission permission);
    PageResult query(QueryObject queryObject);
    void reload();

}
